Chama Installation - Linux
System Requirements
- Ubuntu 16.04 or later
- Python 3.6 or later
Walkthrough
Prepare Python Environment
- Install virtualenv pip package:
pip install virtualenvwrapper - Configure the virtualenv pip package as described here: Linux Install virtualenvwrapper
- Create a python virtual environment:
mkvirtualenv py36
Install GLPK
cd ~wget http://gnu.askapache.com/glpk/glpk-4.65.tar.gztar -xf glpk-4.65.tar.gzcd glpk-4.65./configuremakesudo make installsudo apt install libglpk-dev
Check LD Library Path
- Check if the LD_LIBRARY_PATH variable exists:
echo $LD_LIBRARY_PATH - If it doesn't exist, then create it:
LD_LIBRARY_PATH=/usr/local/lib:/usr/local/bin - Save the variable:
export LD_LIBRARY_PATH
Finish Configuring Python Environment
- Change directory into the chama22/chama_django directory:
cd ~/chama22/chama_django - Ensure the environment is activated:
workon chama - Install requirements:
pip install -r requirements.txt